Total Complexity | 87 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 664 |
Lines of code | 334 |
Logical lines of code | 209 |
Comment lines | 241 |
Methods | 20 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
svg_dimensions() | 39 | 23 | 61 | |
skip_svg_regeneration() | 44 | 7 | 46 | |
check_for_svg() | 51 | 7 | 27 | |
get_image_tag_override() | 52 | 7 | 24 | |
fix_admin_preview() | 48 | 6 | 35 | |
sanitize() | 53 | 6 | 24 | |
fix_mime_type_svg() | 58 | 5 | 15 | |
disable_srcset() | 69 | 4 | 6 | |
str_ends_with() | 63 | 4 | 10 | |
one_pixel_fix() | 60 | 3 | 13 | |
__construct() | 54 | 1 | 20 | |
is_gzipped() | 67 | 2 | 7 | |
featured_image_fix() | 68 | 2 | 7 | |
allow_svg() | 69 | 2 | 7 | |
metadata_error_fix() | 69 | 2 | 7 | |
current_user_can_upload_svg() | 63 | 2 | 10 | |
allow_svg_from_upload() | 74 | 1 | 4 | |
load_custom_admin_style() | 78 | 1 | 3 | |
pre_move_uploaded_file() | 72 | 1 | 5 | |
setup_blocks() | 80 | 1 | 3 |